
$("#download").click(function(){
    $(".successtext").addClass("lose");
});

//音乐控制
 var audio = document.getElementById("audio"),
    $music = $(".music");
 
document.addEventListener("touchstart",function(){
    if(!$music.hasClass("close")){
        audio.play();
    }
},false)
$music.on("click",function(){
    var $this = $(this);
    if($this.hasClass("open")){
        $this.removeClass("open").addClass("close");
        audio.pause()
    }else{
        $this.removeClass("close").addClass("open");
        audio.play()
    }
});

